import request from '@/utils/request'
// 分项能耗-用电构成
export const getsubitemgouchengapi = params => request.get('ecm-microservice-biz/ecm/building/energy/chart/subItem/electricityComposition', { params })
// 分项能耗-用电排名
export const getsubitempaimingapi = params => request.get('ecm-microservice-biz/ecm/building/energy/chart/subItem/electricityRank', { params })
// 分项能耗-用电趋势
export const getsubitemqushiapi = params => request.get('ecm-microservice-biz/ecm/building/energy/chart/subItem/electricityTrend', { params })
// 分户能耗-根据企业id获取楼栋列表
export const getdanweidongapi = params => request.get('ecm-microservice-biz/ecm/building/energy/chart/household/getBuildingByCompanyId', { params })
// 分户能耗-根据楼栋id获取楼层列表
export const getdongcengapi = params => request.get('ecm-microservice-biz/ecm/building/energy/chart/household/getBuildingByBuildingId', { params })
// 分户能耗-用电构成
export const getfenghugouchengapi = params => request.get('ecm-microservice-biz/ecm/building/energy/chart/household/electricityComposition', { params })
// 分户能耗-用电排名
export const getfenhupaimingapi = params => request.get('ecm-microservice-biz/ecm/building/energy/chart/household/electricityRank', { params })
// 分户能耗-用电趋势
export const getfenhuqushiapi=params=>request.get('ecm-microservice-biz/ecm/building/energy/chart/household/electricityTrend', { params })